package com.zhentao.ware.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhentao.common.utils.PageUtils;
import com.zhentao.common.utils.Query;

import com.zhentao.ware.dao.UndlogDao;
import com.zhentao.ware.entity.UndlogEntity;
import com.zhentao.ware.service.UndlogService;


@Service("undlogService")
public class UndlogServiceImpl extends ServiceImpl<UndlogDao, UndlogEntity> implements UndlogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<UndlogEntity> page = this.page(
                new Query<UndlogEntity>().getPage(params),
                new QueryWrapper<UndlogEntity>()
        );

        return new PageUtils(page);
    }

}